package cn.zx.org.mapper;

import cn.zx.org.domain.Department;
import cn.zx.org.query.DepartmentQuery;

import java.util.List;

public interface DepartmentMapper {
    Department loadOne(Long id);
    List<Department> loadAll();
    void insert(Department department);
    void update(Department department);
    void delete(Long id);
    Long queryCount();
    List<Department> queryData(DepartmentQuery departmentQuery);
}
